{
    "mappings": {
        "${indexType}": {
            "properties": {
            <#list cols as c>
                "${c.name}": {
                    "type": "${c.type}"<#if c.attr??>,
                    ${c.attr}
                    </#if>
                }<#if c?index+1<c?size>,</#if>
            </#list>
            }
        }
    }

}